package com.me.bbs.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.me.bbs.dto.ForumFollowingDTO;
import com.me.bbs.entity.ForumFollowing;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lm
 * @since 2023-01-22
 */
public interface IForumFollowingService extends IService<ForumFollowing> {
    Page<ForumFollowingDTO> getForumFollowingList(Page<ForumFollowing> page, Wrapper<ForumFollowing> wrapper);

    void follow(ForumFollowing forumFollowing, Boolean isFollow) throws Exception;

}
